#ifndef FONT_H
#define FONT_H
#include "Defines.h"
#include "Structs.h"
#include "Character.h"
#include "Renderer.h"
class ENGINE_API Font
{
public:
	//--------------------------------------------------
	Font(Renderer* pRenderer);
	~Font();
	//--------------------------------------------------
	void LoadFonts(std::string p_sPath);
	//--------------------------------------------------
	void SetPos(float p_fPosX,float p_fPosY,float p_fPosZ);			
	void SetText(char * p_sText)							{m_sText = p_sText;}			
	void SetPosX(float p_fPosX)								{m_fPosX=p_fPosX;}
	void SetPosY(float p_fPosY)								{m_fPosY=p_fPosY;}
	void SetPosZ(float p_fPosZ)								{m_fPosZ=p_fPosZ;}
	std::string GetText()									{return m_sText;}
	float GetPosX()											{return m_fPosX;}
	float GetPosY()											{return m_fPosY;}
	float GetPosZ()											{return m_fPosZ;}
	//--------------------------------------------------
private:
	std::string m_sText;//string con el texto 
	std::map<char,Character> m_mCharacters; //mapa con los caracteres
	std::map<char,Character>::iterator m_mCharactersIterator;
	Renderer* m_pRenderer;
	//Scene* m_pScene;
	float m_fPosX;
	float m_fPosY;
	float m_fPosZ;
};
#endif